<?php 
/**
 * @version		2.0.1 | $Id: form.php 93 2009-08-28 10:56:02Z mwi.nor $
 */

// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<form action="index.php" method="post" name="adminForm" id="adminForm">
<div class="col100">
    <fieldset class="adminform">
        <legend><?php echo JText::_( 'MD_PLAYER_DETAILS' ); ?></legend>
        <table class="admintable">
        <tr>
            <td width="100" align="right" class="key">
                <label for="PlayerName">
                <?php echo JText::_( 'MD_PLAYER_NAME' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="PlayerName" id="PlayerName" size="32" value="<?php echo $this->player->PlayerName;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="PlayerUID">
                <?php echo JText::_( 'MD_PLAYER_USER' ); ?>
                </label>
            </td>
            <td>
                <?php echo $this->userlist 
				?>
            </td>
        </tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="PlayerVenueID">
                <?php echo JText::_( 'MD_PLAYER_VENUE' ); ?>
                </label>
            </td>
            <td>
                <?php echo $this->venuelist 
				?>
            </td>
		</tr>
        </table>
    </fieldset>
</div>

<div class="clr"></div>

<input type="hidden" name="option" value="com_matchdart" />
<input type="hidden" name="PlayerID" value="<?php echo $this->player->PlayerID; ?>" />
<input type="hidden" name="PlayerDefault" value="<?php echo $this->player->PlayerDefault; ?>" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="controller" value="players" />
<?php echo JHTML::_( 'form.token' ); ?>
</form>